package br.edu.univas.si.tcc.controller;

import br.edu.univas.si.tcc.listeners.ListenersFramePrincipal;
import br.edu.univas.si.tcc.view.FramePrincipalPainel;

public class ControllerPrincipal {
	
	private FramePrincipalPainel framePrincipal;
	
	public ControllerPrincipal() {
		this.framePrincipal = new FramePrincipalPainel();
	}
	
	public void iniciarJanela(){
		framePrincipal.addListenersFramePrincipal(new ListenersFramePrincipal() {
			
			@Override
			public void webServiceAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void visuCancelAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void sobreAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void relatorioEmiAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void produtosAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void novaEditarAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void inutilizarAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void emitirAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void emitenteAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void clientesAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void cfopAcao() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void ajudaAcao() {
				// TODO Auto-generated method stub
				
			}
		});
		
		framePrincipal.setVisible(true);
		framePrincipal.setLocationRelativeTo(null);		
	}
}
